home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / busition / ticklex / install.bat next >
Encoding:
DOS Batch File  |  1993-12-21  |  3.1 KB  |  104 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons. For instance, drive C is
  5. echo designated as "C:", not "C". Make absolutely sure that you have designated
  6. echo your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. echo Installing TickleX onto your hard disk requires 2MB of free disk space.
  13. echo If you're not SURE that much is free, press Control-C to abort; otherwise,
  14. pause
  15. echo off
  16. cls
  17. %2
  18. cd\
  19. md MANAGEX
  20. cls
  21. cd\MANAGEX
  22. if not exist M-JOURN.LBF goto SKIPBACK
  23. echo If you're a registered user, please ensure that you have a reliable backup
  24. echo of your current TickleX data.    You should keep this backup indefinitely.
  25. echo If you don't have such a backup, press Control-C and make it; otherwise,
  26. pause
  27. :SKIPBACK
  28. if exist ticklex.com erase ticklex.com
  29. if exist editx.com erase editx.com
  30. cls
  31. if exist upgrd.exe erase upgrd.exe
  32. copy %1*.*
  33. if exist t7.hlp erase t?.hlp
  34. cls
  35. echo just a minute...
  36. if exist lb-rate.dat rename lb-*.dat lb-*.lbf
  37. if exist m-group.dat rename m-gr*.dat m-gr*.lbf
  38. if exist recur.dat rename r*.dat r*.lbf
  39. if exist recoff.daf rename recoff.daf recoff.lbf
  40. if exist incexpns.dat rename incexpns.dat incexpns.lbf
  41. if exist printdoc.bat erase printdoc.bat
  42. if exist export.exe erase export.exe
  43. if exist manual erase manual.*
  44. if exist help erase help
  45. if exist messages erase messages
  46. if exist blankcal erase blank*
  47. if exist jwtype.lbf erase jw*.*
  48. if exist alarm.dat erase alar*.da*
  49. if exist ticklex.exe erase ticklex.*
  50. if exist sample.lbt erase sample*.??t
  51. if exist printers.lbf erase printers.lbf
  52. if exist pc-beep.exe erase pc-beep.exe
  53. if exist m--journ.lbf rename tx.bat txold.bat
  54. cls
  55. if not exist m-journ.lbf goto EXTRACT
  56. echo                              VERY IMPORTANT
  57. echo .
  58. echo .
  59. echo Now,  some program files will be extracted from an archive.   Before each
  60. echo file is extracted,  a check will be made to see whether a similarly named
  61. echo one already exists on your hard disk.  If so, you'll be asked whether you
  62. echo wish to overwrite it with a new copy.
  63. echo .
  64. echo              ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
  65. echo .
  66. echo .
  67. pause
  68. cls
  69. :EXTRACT
  70. tklx
  71. erase tklx.exe
  72. ticklex u %2 ~1
  73. ticklex i ~1
  74. ticklex t manual
  75. if exist manual.idx erase manual.txt
  76. ticklex t cities
  77. if exist jwread.txt ticklex t jwread
  78. rem echo off
  79. cls
  80. if exist 1sttime.fyl erase 1sttime.fyl
  81. if exist m-journ.lbf goto NOTFIRST
  82. ticklex p
  83. ticklex w
  84. ticklex m
  85. :NOTFIRST
  86. rem echo off
  87. cls
  88. echo      To use TickleX, go to the MANAGEX directory on drive %2 and enter
  89. echo "TX xxx" (where xxx are your initials).  For example, if your initials
  90. echo were ABC, you would enter "TX ABC" (without the quotes) to use TickleX.
  91. echo .
  92. echo .
  93. pause
  94. goto END
  95. :NODRIVE
  96. cls
  97. echo .
  98. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  99. echo .
  100. echo example:  B:INSTALL B: C:   will install TICKLEX from drive B to drive C:
  101. echo .
  102. echo            PLEASE TRY AGAIN
  103. :END
  104.